package com.javaclimb.mapper;

import com.javaclimb.pojo.Advertisement;

import java.util.List;

/**
 * 轮播图
 */
public interface AdvertisementMapper {
    List<Advertisement> getList(Advertisement advertisement);
    int add(Advertisement advertisement);
    int delete(Advertisement advertisement);
    int update(Advertisement advertisement);
    int updateState(Advertisement advertisement);
}
